package com.youlu.campus.entity.VO.res;

import com.youlu.campus.entity.UserPO;
import lombok.Data;

import java.io.Serializable;

/**
 * C端用户信息响应类
 *
 * @author: YangJ
 * @date: 2020/7/31 14:06
 */
@Data
public class UserResponse implements Serializable {

    public String id;

    private String avatarUrl;

    private String nickName;

    private String openId;

    private String unionId;

    private String token;
    /**
     * 大学编码
     */
    protected String universityValue;
    /**
     * 大学名称
     */
    protected String universityName;
    /**
     * 大学ID
     */
    protected String universityId;
    /**
     * 平台
     */
    protected String platform;
    /**
     * 是否已经绑定手机号
     */
    protected Boolean bindMobile = false;

    private String name;

    private String mobile;

    private String province;

    private String city;

    private String addresss;

    private String area;

    private boolean rewarded = false;

    private UserPO userPO;
    /**
     * sms,wechat,qq,wechat-third,password
     */
    private String authorizeMode = "wechat";

    /**
     * 是否已经授权获取信息
     */
    private Boolean authorized = Boolean.FALSE;
    /**
     * 是否绑定
     */
    private Boolean binded = Boolean.FALSE;

}
